package com.antifly.common.pojo.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * 树结构的顶层
 *
 * @author yangke
 * @date 2020-04-17
 */
public class TreeNode {
    /**
     * 节点id
     */
    private String id;
    /**
     * 父节点id
     */
    private String parentId;
    /**
     * 子节点
     */
    private List<Object> children = new ArrayList<>();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<Object> getChildren() {
        return children;
    }

    public void setChildren(List<Object> children) {
        this.children = children;
    }
}
